“You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0“

OpenAIAPI错误:“尝试访问openai.ChatCompletion,但在openai>=1.0.0版本中已不再支持此功能”_youtriedtoaccessopenai.chatcomple...